<?php
/**
 * 文件表单
 * Enter description here ...
 * @author Administrator
 *
 */
class Application_Form_File extends Application_Form_Base
{

    public function init()
    {
    	$this->addElement('text','form_path',array('label'=>'服务器端路径:','required' => true	));
    	$this->addElement('text','form_local_path',array('label'=>'本地路径:'));
    	$this->addElement('text','form_filename',array('label'=>'文件名:'));
    	$this->addElement('text','form_type',array('label'=>'文件类型:'));    	
    	$this->addElement('text','form_size',array('label'=>'文件大小KB:'));
    	$this->addElement('text','form_hash',array('label'=>'文件哈希:'));
    	$this->addElement('text','form_creat_time',array('label'=>'上传时间:'));
    	$this->addElement('text','form_deleted',array('label'=>'删除:'));
    	$this->addElement('text','form_enabled',array('label'=>'可用:'));
    	    	
    	/*$this->addElement('submit','submit',array('label'=>'确定'));
    	$this->addElement('button','cancel',array('label'=>'取消'));*/
    }

}

